Skip to content

Add Dev Console shortcut for non-embedded apps in app dev#7263

Merged
nickwesselman merged 3 commits intomainfrom
nwesselman/dev-console-shortcut
Apr 15, 2026
Merged

Add Dev Console shortcut for non-embedded apps in app dev#7263
nickwesselman merged 3 commits intomainfrom
nwesselman/dev-console-shortcut

Conversation

@nickwesselman
Copy link
Copy Markdown
Contributor

@nickwesselman nickwesselman commented Apr 13, 2026

WHY are these changes introduced?

Improves the app dev experience for non-embedded apps. The default preview link opens the app outside of admin for non-embedded apps, so there is not an easy way to navigate to the Dev Console. They'd need to open admin themselves.

WHAT is this pull request doing?

Conditionally adds an additional (c) action and preview link for opening the Dev Console, which opens admin w/ ?dev-console=show to ensure it's not minimized.

I also simplified/clarified the existing preview and GraphiQL link descriptions. in browser seems unecessary.

How to test your changes?

Run app dev on a non-embeddeed app.

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • The change is user-facing, so I've added a changelog entry with pnpm changeset add

Copy link
Copy Markdown
Contributor Author

nickwesselman commented Apr 13, 2026

@nickwesselman nickwesselman marked this pull request as ready for review April 13, 2026 15:48
@nickwesselman nickwesselman requested review from a team as code owners April 13, 2026 15:48
@nickwesselman nickwesselman changed the base branch from main to graphite-base/7263 April 13, 2026 16:09
@nickwesselman nickwesselman force-pushed the nwesselman/dev-console-shortcut branch from 9a408b5 to 5e5ddf6 Compare April 13, 2026 16:09
@nickwesselman nickwesselman changed the base branch from graphite-base/7263 to nwesselman/update-graphql-codegen April 13, 2026 16:09
Base automatically changed from nwesselman/update-graphql-codegen to main April 13, 2026 17:00
@nickwesselman nickwesselman force-pushed the nwesselman/dev-console-shortcut branch from 5e5ddf6 to 880c5f8 Compare April 13, 2026 19:11
Copy link
Copy Markdown
Contributor

@craigmichaelmartin craigmichaelmartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two comments but looks good!

Comment thread packages/app/src/cli/services/dev/ui/components/DevSessionUI.tsx Outdated
Comment thread packages/app/src/cli/utilities/app/app-url.ts Outdated
nickwesselman and others added 3 commits April 15, 2026 13:19
For non-embedded apps, adds a (c) keyboard shortcut and URL link in the
DevSessionUI footer that opens the store admin with ?dev-console=show,
giving developers quick access to extension previews.

Also fixes AppManagementClient.appFromIdentifiers() to extract the
embedded field from the app home module config, and makes the embedded
state reactive via DevSessionStatusManager so it updates live when the
toml changes during dev.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
allExtensions includes config extensions (app_home, webhooks, etc.)
that always exist, causing hasExtensions to always be true. Use
nonConfigExtensions which only includes user-defined extensions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nickwesselman nickwesselman force-pushed the nwesselman/dev-console-shortcut branch from 958c824 to 01d5396 Compare April 15, 2026 17:27
@nickwesselman nickwesselman added this pull request to the merge queue Apr 15, 2026
Merged via the queue into main with commit d8171c6 Apr 15, 2026
25 checks passed
@nickwesselman nickwesselman deleted the nwesselman/dev-console-shortcut branch April 15, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants